{ INFORMATICS.MCCME.RU
  Problem statement: http://informatics.mccme.ru/moodle/mod/statements/view3.php?chapterid=597
  Verdict: Accepted
}
uses SysUtils, Math;
 
const
	eps:double=1e-9;
 
var
	ans:longint;
	x,y,s:extended;
 
begin
reset(input,'input.txt');
rewrite(output,'output.txt');
read(x,y);
ans:=1;
s:=x;
while y-s>eps do begin
	inc(ans);
	x:=x*1.7;
	s:=s+x;
end;
write(ans);
end.